package com.ruoyi.project.system.v.service;

import com.ruoyi.project.system.v.stream.StreamPusher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StreamService {

    @Autowired
    private StreamPusher streamPusher;

    public void startStream() throws Exception {
        streamPusher.startStreaming();
    }
}
